package com.glela.packet.model;

import java.util.Date;

public class RedPacket {
    private Integer id;

    private Integer redPacketRecordId;

    private Integer redPacketOmtId;

    private String code;

    private String title;

    private String subtitle;

    private Date startTime;

    private Date endTime;

    private Long amount;

    private Short redPacketType;

    private Short status;

    private Boolean allowShare;

    private Boolean allowRefundReturn;

    private Date usetime;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRedPacketRecordId() {
        return redPacketRecordId;
    }

    public void setRedPacketRecordId(Integer redPacketRecordId) {
        this.redPacketRecordId = redPacketRecordId;
    }

    public Integer getRedPacketOmtId() {
        return redPacketOmtId;
    }

    public void setRedPacketOmtId(Integer redPacketOmtId) {
        this.redPacketOmtId = redPacketOmtId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle == null ? null : subtitle.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public Short getRedPacketType() {
        return redPacketType;
    }

    public void setRedPacketType(Short redPacketType) {
        this.redPacketType = redPacketType;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public Boolean getAllowShare() {
        return allowShare;
    }

    public void setAllowShare(Boolean allowShare) {
        this.allowShare = allowShare;
    }

    public Boolean getAllowRefundReturn() {
        return allowRefundReturn;
    }

    public void setAllowRefundReturn(Boolean allowRefundReturn) {
        this.allowRefundReturn = allowRefundReturn;
    }

    public Date getUsetime() {
        return usetime;
    }

    public void setUsetime(Date usetime) {
        this.usetime = usetime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}